package com.yiqi.news.mvp.ui.fragment

import android.graphics.drawable.Drawable
import android.os.Bundle
import android.text.TextUtils
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.ImageView
import com.bumptech.glide.load.resource.drawable.DrawableTransitionOptions
import com.bumptech.glide.request.target.SimpleTarget
import com.bumptech.glide.request.target.Target
import com.bumptech.glide.request.transition.Transition

import com.jess.arms.base.BaseFragment
import com.jess.arms.di.component.AppComponent
import com.jess.arms.utils.ArmsUtils


import com.yiqi.news.R
import com.yiqi.news.app.base.NullObjectPresenterByFragment
import kotlinx.android.synthetic.main.fragment_big_image.*


/**
 * ================================================
 * Description:
 * <p>
 * Created by MVPArmsTemplate on 06/26/2019 16:48
 * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
 * <a href="https://github.com/JessYanCoding">Follow me</a>
 * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
 * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
 * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
 * ================================================
 */
/**
 * 如果没presenter
 * 你可以这样写
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */
class BigImageFragment : BaseFragment<NullObjectPresenterByFragment>() {


    override fun initView() {

    }

    override fun lazyFetchData() {

    }

    override fun initEvent() {

    }


    companion object {

        fun newInstance(): BigImageFragment {
            return BigImageFragment()
        }
         const val IMG_URL: String = "imgUrl"

    }


    override fun setupFragmentComponent(appComponent: AppComponent) {
//        DaggerBigImageComponent //如找不到该类,请编译一下项目
//                .builder()
//                .appComponent(appComponent)
//                .bigImageModule(BigImageModule(this))
//                .build()
//                .inject(this)
    }

    override fun initView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View {
        return inflater.inflate(R.layout.fragment_big_image, container, false);
    }

    override fun initData(savedInstanceState: Bundle?) {

    }

    override fun setData(data: Any?) {

    }

}
